ReadCRUDCacheRepo

open class ReadCRUDCacheRepo<ObjectType, IdType>(    parentRepo: ReadCRUDRepo<ObjectType, IdType>,     kvCache: KVCache<IdType, ObjectType>,     idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType>

Constructors

Link copied to clipboard
fun <ObjectType, IdType> ReadCRUDCacheRepo(    parentRepo: ReadCRUDRepo<ObjectType, IdType>,     kvCache: KVCache<IdType, ObjectType>,     idGetter: (ObjectType) -> IdType)

Functions

Link copied to clipboard
open suspend override fun contains(id: IdType): Boolean
Link copied to clipboard
open suspend override fun count(): Long
Link copied to clipboard
open suspend override fun getById(id: IdType): ObjectType?
Link copied to clipboard
open suspend override fun getByPagination(pagination: Pagination): PaginationResult<ObjectType>

Inheritors

CRUDCacheRepo
Link copied to clipboard